gsk: vulkan: fix image uploading
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 18 Aug 2017 19:38:54 +0000 (20:38 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Aug 2017 23:41:36 +0000 (19:41 -0400)
commit48df19287b0a4cc4b3c9d4186f0f8b91dccca4f6
tree9dcc18e08f8f990e0826101138fc914d7372ce67
parent652a99ff9f8fa59fdf752b7ae4afd361b2f11a9b
gsk: vulkan: fix image uploading

The memory alignment requirements are different from the image layout.
We want the rowPitch to know where to upload the lines.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=786485
gsk/gskvulkanimage.c